using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cmc.Modbus.Base
{
    public class CRCWrongException : Exception
    {
        public CRCWrongException(byte[] wrongBytes) : base("CRC校验错误！")
        {
            WrongBytes = wrongBytes;
         }
        public byte[] WrongBytes { get; }

    }
}
